<%-- 
    Document   : theater2
    Created on : Apr 27, 2012, 8:57:05 PM
    Author     : prateekpatil
--%>

<%@page import="java.util.*"%>
<%@page import="cs425proj.model.*"%>
<%
String theater=request.getParameter("count");  
 String buffer="<select name='theater' id='theater'><option value='-1'>Select</option>";  
  theaterDetail obj = new theaterDetail();
  ArrayList<String> theaterList = obj.getTheaterList("Spider");
   for(int i=0;i<theaterList.size();i++){
   buffer=buffer+"<option value='"+theaterList.get(i) +"'>"+theaterList.get(i)+"</option>";  
   }  
 buffer=buffer+"</select>";  
 response.getWriter().println(buffer); 
 

 %>
